package com.xysl.constant;

import com.ruoyi.common.core.utils.DateUtils;

public class XyslConstants {

    /**
     * 幼儿园-首页统计数据-个数
     */
    public static final int YEY_NUM_COLLECT = 4;


    /**
     * 幼儿园-首页 跟进学员事件,进入待办 -提前天数
     */
    public static final int FOLLOW_NOTIFY_BEGIN_DAY = 7;


    /**
     * 幼儿园-首页 待办事项未配置时,默认取几条
     */
    public static final int DAILY_DEFAULT_NUM = 2;


    /**
     * 幼儿园-首页通知类型-个数
     */
    public static final int YEY_NUM_NOTICE = 8;

    public static Object getConfigValue(String key){
        switch (key) {
            case "garden_home_statistics":
                return YEY_NUM_COLLECT;
            case "garden_home_tip":
                return YEY_NUM_NOTICE;
            default:
                break;
        }
        return null;
    }
}
